<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<head>
	<title> SINPLES -- Veículos -- Consulta </title>
	
	<style>
		body {
			background-image: url("fundo_azul-5_bck.png");
		}
	</style>
</head>


<body>

<s:include value="consultaVeiculos.jsp"></s:include>

<span class="titulo">
	<h2 align="center">
		<FONT COLOR=#27408B face="Arial" > Veículos </FONT>
	</h2> 
</span>


<table align="center" width="1000" bgcolor="#C0C0C0" border="3">
	<tr>	
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>PLACA</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>CATEGORIA</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>MODELO</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>COR</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>ANO</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>SITUAÇÃO</b> </FONT></td>		
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>INSTITUÇÃO</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>VISTORIAS</b> </FONT></td>
	</tr>
	<s:iterator value="veiculos">
			<tr>
				<td><s:property value="placa" /></td>
				<td><s:property value="categoria" /></td>
				<td><s:property value="modelo" /></td>
				<td><s:property value="cor" /></td>
				<td><s:property value="ano" /></td>
				<td><s:property value="situacao" /></td>
				<td><s:property value="instituicaoCedente.nome" /></td>
				<td><A href="listaVistorias.action?placa=<s:property value="placa"/>">
						linkParavistorias
					</A>
				</td>			
			</tr>
	</s:iterator>
</table>


<!-- <table align="center" width="700" bgcolor="#C0C0C0" border="3">
	<tr>		
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>Placa</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>Categoria</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>Ano</b> </FONT></td>
		<td align="center" class="head"><FONT COLOR=#354000 face="Arial" > <b>Situação</b> </FONT></td>
	</tr>
	<s:iterator value="veiculos">
			<tr>
			<td> <A href="listaInstituicao.action?idDaInstituicao=<s:property value="id"/>">	
						<s:property value="placa" />
			<!-- </A> 	
				</td>
				<td><s:property value="categoria" /></td>
				<td><s:property value="ano" /></td>
				<td><s:property value="situacao" /></td>
			</tr>
	</s:iterator>
</table>-->

<s:include value="voltaParaIndex.jsp"></s:include>

</body>

